#define text(x,placeholder)
	<input type="text" id="_#(x.index??)" name="#(table??).#(x.index??)" data-type="text" disabled value="#(x.value??)" placeholder="#(placeholder??)" class="form-control" autocomplete="off"/>
	<script type="text/javascript">
	    function _#(x.index??)_initText(value){
	    	#if(x.localdata!=null)
	    		var map = new Map();
	    		#for(k : x.localdata)
	    			 map.put("#(k.key)","#(k.value)");
	    		#end
				$("#_#(x.index??)").val(map.get(value));
			#end
	    }
	</script>
#end